import 'react-native-gesture-handler';
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
const Tab = createBottomTabNavigator();

import FirstPage from './FirstPage';
import SecondPage from './SecondPage';
import ThirdPage from './ThirdPage';
import FourthPage from './FourthPage';


function App() {
  return (
    <NavigationContainer>
      <Tab.Navigator >
        <Tab.Screen
          name="FirstPage"
          component={FirstPage}
        />
        <Tab.Screen
          name="SecondPage"
          component={SecondPage}
        />
        <Tab.Screen
          name="ThirdPage"
          component={ThirdPage}
        />
        <Tab.Screen
          name="FourthPage"
          component={FourthPage}
        />
      </Tab.Navigator>
    </NavigationContainer>
  );
}

export default App;
